// YApi QuickType插件生成，具体参考文档:https://plugins.jetbrains.com/plugin/18847-yapi-quicktype/documentation

package com.xnfh.common.bean
data class SoilMessage (
    val gns5Nitrogen: String,
    val gns5Soilcontent: String,
    val createtime: String,
    val year: String,
    val gg5Slope: String,
    val gns5Ph: String,
    val gns5Phosphorus: String,
    val gns5Soilname: String,
    val edition: Long,
    val gg5Id: Long,
    val gns5Soilstate: String,
    val type: Long,
    val gns5Som: String,
    val gg5Dem: String,
    val dautoid: Long,
    val time: String,
    val fieldid: Long,
    val gns5Potassium: String
)

data class SoilZdMessage (
    val gg5Dem: Double,
    val fmap: Fmap,
    val gg5Slope: Double,
    val grade: List<Grade>,
    val soil: Soil,
    val nationList: List<NationList>
)

data class Fmap (
    val creattime: String
)

data class Grade (
    val harm: String,
    val routineMeasures: String,
    val soilType: String,
    val efficientMeasures: String,
    val ID: Int,
    val diagnostic: String,
    val content: String
)

data class NationList (
    val gns5Id: Long,
    val gns5SoilContent: String,
    val year: String,
    val gns5Ph: String,
    val gns5Potassium: String,
    val edition: Long,
    val gg5Id: Long,
    val gns5Som: String,
    val type: Long,
    val currentTime: Long,
    val gns5SoilName: String,
    val gns5Phosphorus: String,
    val createTime: String,
    val gns5SoilState: String,
    val gns5Nitrogen: String
)

data class Soil (
    val avgYjz: String,
    val avgPh: String,
    val avgSxj: String,
    val avgQd: String,
    val avgYxl: String,
    val avgJjd:  String? = null
)